fixed bug introduced by director cleanup