hopefully fixed read-command.c