Make pattern a bit more sane