fix issue with the prefix still using the wrong path