fixing delete activity