replacing checkbox with auto