AMS gui fix