fixing ast for basic funcdef