handling case where res is null in et-get