Fix race condition on second part loading