correct free
fix for reading positions multiple times