check if data is null part2