label refresh bug fix