Avoid NPEs when processing download data