fix duplication errors