fixed -inf