db->exec fix