platform cleanup