debug=false validation added