fixes for pref panel and 10.6