account for strange -INfinity bug