fixed the leak but still have some left overs