Fix jade problems