Form switching was bugged