framework clean up