added checks for objects with __ property values