Cleaned stuff and fixed weird hash glitch