fix key value regex