loaded data into mysql
bug fixes to the load query