make _get_comp_words_by_ref more strong