Fixed bug in param naming