Fix for MySQL and uploader