fixed malloc hash to work :D