why portal flow is taking to long?