fixing parent guid adding to metadata