bug: fix bug the style preference attributes lost