fix the jline dep
roll back to use prepare
remove the old write