fixed a stupid semicolon bug in read-command