static cleanup