fixed over-releasing