removing the prints that were causing the error
fixing apostrophe bug in sql statement + logs
error tolerence in splitting + better split