deleting a study almost works now