fixed a bug with --quick