delete loc+editpref+portrait