What Lord Dexter said was correct... you need to have all 3 of those in the same order.. you have your avatar in 2-3 different spots...
it's gotta be:
aim
yahoo
avatar
customstat
in that order through all 3
Then you have to go back and make sure the profile field numbers match... everytime you mention profile field n, it must match throughout for whatever is supposed to go in that field: aim, yahoo, avatar, etc.... I haven't read that code in ages, but it's a pain to get straight, once you do, it works fine. You gotta do your homework first.