partly fix withdraw issue