Corrected required to report error for null