catch and allow changing output if route not found