running in separate processes was causing the issue