refresh bug fixing