bug fix

fixed checking of is_null property