fixed ADKEY bug