Corrected compilation error