Corrected compilation errors in the project