prevent double slashes in .configure/results