fix for account model length validaton