clear preference before add