Fixed breakage of hash, incases of special characters