treat name as a path for b/w compatibility