fix end_pos stuff in parser (no (None, None) end_pos anymore