clean up for off method