finalize visit action