fix for hex packages