fixed avatar receiving (issue #233)