Fixed free space bug