fixed bug logging webhook