fixed typo in digest script