fix for error reporter