clear next en prev commands