better way to escape text