fixing bug with hints being displayed