add check_code after five times error validate code