reset defaults, fix regex for replacing values