remove some bugs (ok btn click listener)