should fix rotten log crash