fixed js error when no metadata found for one dimension