tuple error might be fixed