fixed terrible leak