temp fix for whitespace mode and autocomplete