clean up for security bundle