added min warning