Fix null indirect null exception