fixed match_copy bug setting text_off to 0