bugfix in delete all