fixes a regression bug where a default controller with a path bit would fail because it wouldn't set the class name back to Default after it tried and failed to use the path bit