fixes in hash/sigh, errors