[utils/shadow] clean up