fixed semicolon
fixed problem in hash state causes by callbacks setting hash state