ROBE-91 bug fixed and length validation support