compilation error fix