fix stack level issue q3