fix to delete elst from tail (#issue 9 at github)