fix sival log for negative/zero values