fix user avatar url method