piece of code is relocated

to avoid failure if flyspell is not installed