Fixed after mySQL change