adding hash_check to input_as_array to prevent double clicks etc