Fixed issue with invalid parameter.