fix bug in tuple declaration