edit dz20 fix stack functions