fix some tmp file trigger event problem