Refresh bug fix