fix bug for styleView