fix global hash