fix confusing line number caused by improper echo -n