fix for shadow options settings