fixed classtype syntax errors