Set default avatar, fix duplicate operation