fixing database object issue@