fix removeOnComplete option