fix illegal syntax
modifiedContent variable needs defining