small fixes

brackets, removing a deleted tempalte, preparing for sorting. ;-)