Fixed a bug related to requires

    it was considering null member as missing value