fixed weird regex issue