debugging avatar upload