Idiom: Loose cannon

Loose cannon: An unpredictable or uncontrolled person who can cause damage if not kept in check
Example: As it turned out, John is not just a loose cannon, but he makes sense.