clean up duplication