fix quite bug