GetFret fix leakage