From context, it's obvious where comma is placed. Context is (sadly) so undervalued these days.
In my defense: A) Not native B) Written in a hurry.
Anyway to assuage your fears of grammatically imperfect sentences, I've installed fresh commas. Enjoy.