Fix a bug causing single quote to fail