fix confusion of names and ast paths