Fixed shadow errors