fix for restore kernel compile count.