handle cases when the metadata is set for the first time PLAT-332 #3h