maybe fixed a tuple error