add personal code
fix window.open