correction for syntax error due to lack of ending )