fix the bug with otpd