cleanup of configuration