single quotes bug fix