Fix EJS construction routes issue