fixed bug with user avatar