fixing bug where ghost service doesn't start after inithook