Fixed a bug that avatarURL hadn't been set successfully

Signed-off-by: mrahmiao <mrahmiao@gmail.com>