compilation error fix?