insert_db createdby second fix