Fixed MySQL issue