corrected inser query