bugfix, fixed path routing