fixed issue when fixing state as properities