Hi Alper,
There is probably code you implemented in PAI, that should be in PBO.
That way, that code is only executing in PAI after you run the first time. When you run the second time, your data is ready from the previous PAI. That's why it works.
Am I clear?
Regards,
Thales Schmidt