fixed the survey lock functionality to handle uri relevant characters