fixed refresh bug in hot mode