Fix error reporting in some symbols