Fix. Use correct error method.