cleaning up prepare ast step