fixing packages dependencies