need this dir in both modes