fixed suspending bug