minor improvements to ctrl-x action