used wrong object to get avatar