some issue with the ensure_path refactor