fix bug echol() outputs undefined