Fixed no input issue
Fixed length issue
Added autofocus to the index. YOLO
Added autofocus