check dt1 for possible NULL

get_data_pointer() sometimes will initialize dt1