fixed null pointer exception caused by not always having a currentAST anymore