How long has this been going on? Can you put down something impervious to claws for a week or so, and see if that makes him bored with the whole process? Do you play with him to tire him out before bedtime?