file queue fix bug