fix for 3.x kernel