impove stacking order management, imporve ftrace