Fixed get_xxx in the ast for items without a name