fix bug in the meta data cache