fixes the add method in the dcr