change close event to system ready