fix warning when building release