SINF0000 some fixes to the database