add parser duplication protection