fix setStyle()
fix the bug in #29