fix webhook type in middleware check; remove incoming hook middleware