hash api fix