correcting Client and Remove bugged function (post_croak)