fix shipyards working in parallel