fixed source to be compatible with kernel 3.9