checked if object reader is null