fix activity deletes