Is the X hard-coded? By BABA logic this should work.
this isn't baba, so idk what kinda troll logic you're trying to apply here