fix word selection