keep the xtype value alaways lowercase