fixed broken stuff in Integrals