Fixed bug with multiple parameters