fix display bug on forms