close script err modify