refactor sandboxes from content sandbox-mode