ugly hack to make sure directory_6 is called correctly