fix a bug caused by the upgrade of jade