Fix Insert SQL Queries