ES: fixed WriteLine Bug