minor bug removal from generate_probes