updated an exception to be formatexception, as really that is what it is