fixed login register error