fixed regression from fixing flicker