whole word selection bug fixed