Fix invalid command quit