works with the latest version of sodium

thanks to my patches :)