fixed modx errorService issue