fixes for dead elements