fix directory incantations