bugfix: t and m may be blank, invalid pref tag