fixed profile duplication error