fix tuples