fixed stuff, FIX: need to update tail/head after deleting