fixed quoted function references
fixed quoted record references