i guess when he started to shed, there wasnt enough humidity.

what you could do is put him a tub with luke warm water for an hour(make sure not to put too much water to the point where it's swimming) and then with a wet towel let your snake run through it and be sure to hold the towel so the skin can come off.