fix tuple if one element doenst match