fixed syntax errors (copy-paste caused)