Remove extra '|'