fix sentence attribute accessor