Changing single quotes to ticks