Main.ini does not work properly