fix bug cmakec