bug fixed: memory leak
minor