fixed postAvatar issues