fix bug in users_helper/get_avatar