build shadow fix