fix keyborad cann't dismiss bug