remove inline kernel