remove gem duplication