fixed image delete bug, working under cms settings..