rescue from ActionController::UnknownFormat errors