fix mutable array encode issue
reformat  code
fix backgroundimage issue