removed unused code in my avatar