add Class for itemSetting
Fix constrain

fix constrain that make warning