fixed some gui depreciation warnings