avoid divide by zero, if swap disabled