fix: don't crash when no data