fixed lack of sample metadata problem