Fixing distribute dependency