fix warning when compile