fixing regex, because I hate bullshit