added menuinit->getalternative and fixed dependencies