[shadow] cleanup