remove obsolete lang|dir settings