Fix netsplit hook