I'm sorry but I don't understand your questions fully.

What are you actually trying to do?

How is the statement failing?