Fix cannot stack under bug