does this work if avatar_url does not end with "#"?