fixed refresh aborting issues