appears the exception is thrown earlier