[FIX]Unlink of record not working, stupid mistake