Added sanitization of VALUE for setHash method