Fixed the tuple error