fix compiling cut in level 2