fix ping and base_lib directory