fixed bug with uuid creation