validate code more