removing settings, cleaning up messages