fix sign-up bug