make the input actor more robust

Link: https://github.com/GeneAssembly/biosal/issues/108
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>