Replace values in check_match_all