Bug fix with path parameters