load-script bug