fix deletion of first element
forgot the condition...