remove second canCompile declaration