small fix with parameter name collision
update spec and changes