fixing packages reference