fixed bug that ignored `avatar_size` value