fixed /dex command for CAP