add mode packages to depends