Fix webhook handling