stat cleanup