fixed sign_in bug