fix property state (enabled / disabled)