fix attr accesssor