fixed login rejection crash