fix from_paths argument