fix the bug that can not create a new commodity