fix gamax being at the bottom