fix regex that was not properly excaped