fix error inscript