dont overwrite ctrl-w and small performance tweak