making check for content nil