fix JValue compilation