Trying to fix array error in EP2insert