changed dist packgae to use the internal package