Fix closure error