DeadLayer bug fixed