fixed error with atoms
replaced deprecated functions crypto:md5 to crypto:hash