remove remote assets on error.html