fix .off method