change recordsketch_1: add cast for data port