fixes sign in bug