misc kernel cleanup