fix bad regex