removed references to deleted directories