Ultimate fix for profile example

Thanks Robin Luiten for pointing that