fix deleting of permanent things