changed shadow behavior