remove useless method get_all_context