Improve page sandbox