fixing custom avatar