fixed an issue with otp