adjusting cursor in various places