fix EJS includes when inPlace is used