fix appearance attr bug