fix for bug #2182. Added more params for the promises hashing algo