Fixed MYSQL part