removed extra deleteline on enter