some error reporting on MQL