Change error message of deleting frameworks