use getSelection() instead of gotoLocation() in correction proposals