clean up horrible stuff