fixed ajax totals and removals