corrections for initialization warnings in integration and optimizations return types