avoid file share violation issue