-- fix poupup window layout