fix string to var