Do you have any pictures? That would be easier to see what was happening.

If your snake is having a bad shed then humidity is too low. I would suggest raising the humidity. I have it between 50 and 60% while not shedding and 70% while shedding. For an immediate solution to help your snake, fill a container with water and let the snake soak for about 45 minutes. Make sure there isn't too much water so the snake has to swim. He should be able to rest on the bottom with no problem. Once you do that take him out and get a washcloth and stroke the snake gently with the washcloth to help the old skin come off. You may have to do that every day for a couple of days until it all comes off.