sanitise values in accordian