path bugfixes