remove resource error to many false positive