fix greedy regex