add check for missing datasets