hashcompat fix