normalize packages