accidentally - refers to the expression: form, way or accidentally -
You want to say surprisingly, in an unexpected way, fortuitously, as it happens, eventually.