API loadStack fix