small bugfix for hints, spaces shouldnt count as characters