fixed hash leak