fixed patch to mod kernel