Fixes syntax issue when setting  value