Correct cast of guid to string.