Fixed bug in integration