fix bugs with gesturePwdViewController