a bug fix for single quotes