fixing freeaftuse