fixed shadow bug