Hash correction from class