Bug handling directories; attempted fix