upgrade flutil
use calloc instead of malloc