fixed cursor position being problematic

now places cursor at end of line by default