Changed advanced mode
Fixed adv mode (untested)