forgot the client hook, now it should work