fix sctipt