minor changes for old kernels etc.