push_back/element_last bugfixes