fix memory method with decorator ssh_it