removed unused error elements