fixes too many open file of error.ejs