fix issue with parameters