control class compile time errors removed