fix target script