remove accidental duplicate 'end' parser