Resolve some Warning messages

Signed-off-by: TengChou Yang <threefure@gmail.com>