Fixed entity when an attribute is false

resolve #116 
I'm going to use it