It might be due to some bug when switching from EJS 3 to EJS4.
I just re-compiled it. It should work fine now.
Thank you!