remove log and echo