cleaned ast as it saves the whole path