remove duplication for processing pseudo