[FIX] fix some stupid compile errors.