fixing bug with hints