corrected insert sql