better error reporting removed comment