Fixed bug with parameters.