fix adding element add end of list