fix load default script problem