fixed pref popover not opening sometimes