shadow+misc fix