add delete button and fix filters/sorting