binpath to attr