Fixed entity when an attribute is false

resolve #116