change the debug level
initialize the item field in ItemFlags and Attributes