finish validation