trying to submit jobs to server and i didn't realize order of db_name and mode was different