fix weird regex