refresh bug fixed