fixing boolean value of property