fixed window height problem