core error source class fix