fixed some ide warnning.