fix jade problems