handle situation of rtn data is null

Change-Id: Ie6f979b9226226699b2796abe75eab6d374f2564