fixing ipk gen bug