fixing submission with new database