modify call get_internal_type each statement