fixed PMDWarnings.