fix assignment of int to tuple