regexp fix and db dump