fixed command echoing