db implm fix