fixing 2 examples