fix for parsePath when no keyworks found