bug determining data_type from rpn file