fixing error message for integrals

splitting into multiple lines

splitting CODE to multiple lines