finalize validation handling