Then why did it work with changing remove to echo?