Fixed the get stack error