fix minor bug

FIX: bug in cleanup plugin from 7460b94753f7bfc76723f4382a1dca771eb551a3