adapt for Kernel 3.8