fixed bug in guid migrations