Sportsman 450 power loss at full throtle

I have a 2006 Sportsman 450 4×4. I purchased it used about a month ago. The engine seems to choke out at about 5000 rpm and it loses power climbing sand hills. I had a full service performed including rebuilding the carb, one thing they found was that the carb had the wrong rebuild kit in it. After all of this work it still bogs down on hills and at about 5000 rpm. Any ideas would be appreciated.
Thanks,
fishhawk