Fixed database insert