fixed a small leak