improved MQL error reporting