set warning for staff.