Removal of Invalid Syntax