Forgot to init the usedCount
Fix the doubleSpace bug .... delete []tmp not data