Fix error message to refer to symbol