correct script tag bug