auto generate getter setter for some attr
fixes
fix some events