fix sandbox evaluation on page load