add more protection on qua to limit