fix missing data pointer return