Fixed issue with params