chains access escapes single quotes in input