the problem here is really that there are so many presentations and tricks when it comes to Noether that I can't be sure what exactly you're doing (and honestly I'm not particularly interested in finding out), see e.g.
Wiki for a field theory version of Noether's theorem that is pretty straightforward and does everything correctly