Fixed StackImplementation error