added clear cache if resign active