Fixed avatar initiation.
Fixed inventory number problem.