validation improvement