system/class/mysql bugfix