fixed freelist declaration