Fix a few bugs and make it work on newer kernels