fixed error creating self inventory