distance_max can now equal 10
removed autofocus from edit forms