do not throw exception on invalid input