fix regex dir name