fix malformed jade template