Fix null poiner on presentation type.