only load meta data if needed

commit removes the loading of meta data if it is not needed