clear and config