fix learn visual state