fixed inventory bug
fixed messagebroker