change minus to warning