fix double addition in database (merge error)