fix forced close