Flickering bug fix

fix