Fixed MyGUI formula