fixed deleting error if confId is a string