fix packages and images