Get rid of warning messages