replaced single quotes with double quotes inside select