static: replace hash