Set uuid if it exists