temp fix for the bug of multiple dying logging