Fixed issue with Levenberg part