Optimalization of adsorption properties of carbon gels