to load range input field after error