fix math in theory only