checking for null content