remove useless code
remove useless code and refactor
fix warnings
remove useless method get_all_context