Fixed config data types and inventory not working