fix warning and dis 4.0 version and build 4.0.0.2