fix issue with whitespace-mode