Fixed stack creation error.