fix bug at packaging