Temporarily destroy the one that is working.
Does the second one suddenly start working?
If not, then there’s something wrong (layer? position?) of the one that’s not working. Start there.
Also, if you post a code snippet, ALWAYS USE CODE TAGS:
How to use code tags: Using code tags properly