Fixed hash for 1.8.7 compatiblity