resource.MetaValues: check pointer value instead of array length