fix unlockformint checkstate