fixed form display bug