change the jde code logic