another attempt at fixing echo -e