cleanup requires in GotoAgent