tweaked area so that inactive id isn't overwritten.