make sure word stays in box