fixing kernel params