clean up security consistancies