Remove error-solving code