BUG: need fig directory