Fix Brittle's broken code