Fixed some missed changes
Denial database object code