fixed omission in custom_match