fixes multiple parallel gates on separate bodies