background security improvements