fixed dependencies for mega