fix wrong spelling of parameter name
write doc