Fixed missing freeSpaces