remove unnecessary settings, remove duplicate entry from template settings XML