remove fig directory