set style directly