fix warnings in Release.