removed unnecessary gc call