resize win fix