correcting last entry