fix for build type