Fix error when meta data is not available.