fixed a bad script