fixes syntax of copied value