remove unnecessary config and lib