bugfix, malformed path helper