adjust type setting&& typo of ddz.lua