Fix bug set hash when hash is '#blahblah'