makes tree relative to cd, fix