bugfix throw Exception instead of Exception