fix dereg non-exist script