try hard to get the paths correct