adjust object.hpp (delete duplicates)