Fixing server hook