fix signature hash