bug fixes
CMakeList file