[misc] remove compiler warnings