support old kernel