fixed warning about deprecation of find() in output.rs