regexp corrections