fixed some broken regex interpretation