fixed swapped param definitions (closes #74)