fix deadlock- fix packages