Fix sandbox protection