Correcting location for ctrl-p