fixed login resize bug