fixing filters in ejs