remove broken avatar code