fixed TypeError list to tuple