Correct compile time errors