deal with warn