[FIX] fixed some compile warnings