Another attempt to fix curation mySQL