use storage reference in metadata