add first and last as position for position switch of prio command