fixed last changes; delete button works