fix bug in line316, warning message